﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="frm_RecordList.aspx.cs" Inherits="SaleSystem.Fina.frm_RecordList" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>费用记录</title>
</head>
<body>
<form id="form1" runat="server">
    <div>
    <ext:PageManager runat="server" ID="PageManager1" />
    <ext:Toolbar runat="server" ID="toolbar1">
        <Items>
            <ext:Button runat="server" ID="bnSearch" Text="查询" Type="Submit" Icon="Reload" OnClick="bnSearch_Click"></ext:Button>
            <ext:Button runat="server" ID="bnNew" Text="新增" Icon="Add"  ></ext:Button>

        </Items>    
    </ext:Toolbar>
     <ext:Form runat="server" ID="SimpleForm1" EnableBackgroundColor="true" ShowHeader="false" BodyPadding="10px" ShowBorder="false">
                <Rows>
                    <ext:FormRow>
                        <Items>
                    <ext:DropDownList runat="server" ID="ddl_RList_BData_Id" Label="费用类型" Width="200px" DataValueField="BData_Id" DataTextField="BData_Name" TabIndex="1"></ext:DropDownList>
                    <ext:TextBox runat="server" ID="tb_RList_Title" Width="200px" Label="标题" TabIndex="2"></ext:TextBox>
                        </Items>
                    </ext:FormRow> 
            <ext:FormRow>
                <Items>
                    <ext:DatePicker runat="server" ID="dp_RList_StartTime1" Label="开始日期>=" Width="200px" TabIndex="3"></ext:DatePicker>
                    <ext:DatePicker runat="server" ID="dp_RList_StartTime2" Label="开始日期<=" Width="200px" TabIndex="4"></ext:DatePicker>
                </Items>
                    </ext:FormRow>
  
            <ext:FormRow>
                <Items>
                    <ext:DatePicker runat="server" ID="dp_RList_EndTime1" Label="结束日期>=" Width="200px" TabIndex="5"></ext:DatePicker>
                    <ext:DatePicker runat="server" ID="dp_RList_EndTime2" Label="结束日期<=" Width="200px" TabIndex="6"></ext:DatePicker>
                </Items>
                    </ext:FormRow>
                                      <ext:FormRow>
                        <Items>
                            <ext:NumberBox runat="server" ID="nb_RList_Money1" Width="200px" Label="费用金额>=" TabIndex="7"></ext:NumberBox>
                            <ext:NumberBox runat="server" ID="nb_RList_Money2" Width="200px" Label="费用金额>=" TabIndex="8"></ext:NumberBox>
                        </Items>
                    </ext:FormRow>
                </Rows>

    </ext:Form>
    <ext:Grid runat="server" ID="gv_List" EnableBackgroundColor="true" Title="转账记录列表"   IsDatabasePaging="true" AutoHeight="true"
            DataKeyNames="RList_Id,RList_Code" EnableRowNumber="true" 
            onrowcommand="gv_List_RowCommand" AllowPaging="true" 
            onpageindexchange="gv_List_PageIndexChange" 
            onrowdatabound="gv_List_RowDataBound">
    <Columns>
        <ext:BoundField ColumnID="RList_Code" DataField="RList_Code" DataTooltipField="RList_Code" HeaderText="支出单号" Width="150px" />
        <ext:BoundField ColumnID="RList_Title" DataField="RList_Title" DataTooltipField="RList_Title" HeaderText="标题"  Width="200px"   />
        <ext:BoundField ColumnID="BData_Name" DataField="BData_Name" DataTooltipField="BData_Name" HeaderText="支出类型" Width="150px"/>   
        <ext:BoundField ColumnID="RList_Money" DataField="RList_Money" DataTooltipField="RList_Money" HeaderText="支出金额" Width="150px"/>   
        <ext:BoundField ColumnID="RList_StartTime" DataField="RList_StartTime" DataTooltipField="RList_StartTime" HeaderText="费用开始日期" Width="150px"/>   
        <ext:BoundField ColumnID="RList_EndTime" DataField="RList_EndTime" DataTooltipField="RList_EndTime" HeaderText="费用结束日期" Width="150px"/>   
        <ext:LinkButtonField ColumnID="eidt" CommandName="edit"  Text="编辑" HeaderText="编辑" Width="60px" />
        <ext:LinkButtonField ColumnID="delete" CommandName="Delete" CommandArgument="BData_Id" ConfirmIcon="Question" ConfirmText="确认删除此信息？" Text="删除" HeaderText="删除" Width="60px" />

    </Columns>
    </ext:Grid>
    </div>
    <ext:Window runat="server" ID="win_Content" Popup="false" EnableIFrame="true"   EnableConfirmOnClose="true" Title="新增账户" IFrameUrl="about:blank" Target="Parent" IsModal="true" Width="500px" Height="350px"></ext:Window>
    </form>
</body>
</html>
